package com.lemon.stock.viewmodel

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

class DemoViewModel: ViewModel() {
    private val _position = MutableLiveData("")

    val position: LiveData<String> = _position

    fun onPositionChanged(position: String){
        _position.value = position
    }
}